package utils;

import java.util.List;

public class hibernateDaoUtil extends SuperDaoUtil {
	public void add(Object entity) {
		this.getHibernateTemplate().save(entity);
	}
	public void delete(Object entity) {
		this.getHibernateTemplate().delete(entity);
	}
	public void update(Object entity) {
		this.getHibernateTemplate().update(entity);
	}
	public List find(String queryString){
		return this.getHibernateTemplate().find(queryString);
	}
	public boolean contains(Object entity){
		return this.getHibernateTemplate().contains(entity);
	}
}
